<?php $conf = G('conf');?>
<?php $header = G('header');?>
<?php $user = G('user');?>
<?php $uid = G('uid');?>
<?php $gid = G('gid');?>
<?php $fid = G('fid');?>
<?php $tid = G('tid');?>
<?php $pid = G('pid');?>
<?php $route = G('route');?>
<?php $forumlist_show = G('forumlist_show');?>
<?php $static_version = $conf['static_version'];?>
<!--{hook header_start.htm}-->
<!doctype html>
<html lang="<?php echo $conf['lang'];?>">
<head>

    <?php echo defined('BASE_HREF') ? '<base href="'.BASE_HREF.'" />' : '' ;?>
    <!--{hook header_meta_before.htm}-->

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <?php if(!empty($header['keywords'])) { ?>
    <meta name="keywords" content="<?php echo strip_tags($header['keywords']);?>">
    <?php } ?>

    <meta name="description" content="<?php echo strip_tags($header['description']);?>">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">

    <title><?php echo $header['title'];?></title>
    <!--{hook header_link_before.htm}-->

    <link rel="shortcut icon" href="<?php echo $conf['view_url'];?>img/favicon.ico">
    <link rel="icon" sizes="32x32" href="<?php echo $conf['view_url'];?>img/favicon.ico">
    <link rel="Bookmark" href="<?php echo $conf['view_url'];?>img/favicon.ico">

    <!--{hook header_bootstrap_before.htm}-->
    <link rel="stylesheet" href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="plugin/xxx_theme_flarum/view/css/flarum.css">
    <link rel="stylesheet" href="plugin/xxx_theme_flarum/view/css/xiuno.css">
    <!--{hook header_bootstrap_after.htm}-->

    <!--{hook header_bootstrap_bbs_before.htm}-->
    <!--{hook header_bootstrap_bbs_after.htm}-->

    <!--{hook header_link_after.htm}-->

</head>

<body>

    <div id="app" class="App affix">
        <!--Off Canvas 遮罩层-->
        <div class="site-overlay"></div>

        <!--{hook header_body_start.htm}-->

        <?php include _include(APP_PATH.'view/htm/header_nav.inc.htm');?>

        <div id="body" class="App-content">
            <!--{hook body_start.htm}-->
